package com.tulingxueyuan.mall.modules.oms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tulingxueyuan.mall.modules.oms.model.OmsOrderReturnApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tulingxueyuan.mall.modules.oms.model.dto.OmsOrderReturnApplyResultDTO;
import com.tulingxueyuan.mall.modules.oms.model.dto.OmsReturnApplyQueryParamDTO;
import com.tulingxueyuan.mall.modules.oms.model.dto.OmsUpdateStatusParamDTO;

import java.util.List;

/**
 * <p>
 * 订单退货申请 服务类
 * </p>
 *
 * @author zhaofuhao
 * @since 2022-03-03
 */
public interface OmsOrderReturnApplyService extends IService<OmsOrderReturnApply> {
    /**
     * 查询所有退货申请
     * @param queryParam
     * @return
     */
    Page list(OmsReturnApplyQueryParamDTO queryParam);
    /**
     * 获取指定申请详情
     */
    OmsOrderReturnApplyResultDTO getItem(Long id);
    /**
     * 修改申请状态
     */
    boolean updateStatus(Long id, OmsUpdateStatusParamDTO statusParam);
    /**
     * 批量删除申请
     */
    boolean delete(List<Long> ids);
}
